//
//  PywUnbundAlertView.h
//  PywSdk
//
//  Created by smallwave on 16/9/26.
//  Copyright © 2016年 zero. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PywUnbundAlertView;
@protocol PywUnbundAlertViewDelegate <NSObject>
/**
 *  select Button
 *
 *  @param alertView   this AlertView
 *  @param buttonIndex select  ButtonIndex
 */
- (void)bundAlertView:(PywUnbundAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;

@end

@interface PywUnbundAlertView : UIView
@property (nonatomic,weak) id<PywUnbundAlertViewDelegate> delegate;

- (instancetype)initWithTitle:(NSString *)title
                      message:(NSString *)message
                 messageImage:(NSString *)messageImage
                     delegate:(id<PywUnbundAlertViewDelegate>)delegate
              sureButtonTitle:(NSString *)sureButtonTitle;
/**
 *  显示提示框
 */
- (void)show;

+ (BOOL)isOpenDialog;
@end
